package com.daylightrobbery.server.packet.game.card;

import com.daylightrobbery.server.packet.type.DataPacket;
import com.daylightrobbery.server.packet.type.RoomDataPacket;
import org.springframework.stereotype.Component;

@Component
public class UseDiceCardPacket implements RoomDataPacket {
    public static int type = 90004;
    public String uid;
    public int roomId;
    public int diceNumber;

    @Override
    public DataPacket process() {
        return this;
    }

    public String getUid() {
        return uid;
    }

    @Override
    public int getType() {
        return type;
    }

    @Override
    public int getRoomId() {
        return roomId;
    }

    public UseDiceCardPacket setUid(String uid) {
        this.uid = uid;
        return this;
    }

    public UseDiceCardPacket setRoomId(int roomId) {
        this.roomId = roomId;
        return this;
    }

    public int getDiceNumber() {
        return diceNumber;
    }

    public UseDiceCardPacket setDiceNumber(int diceNumber) {
        this.diceNumber = diceNumber;
        return this;
    }
}
